<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
  <title>Event Details</title>
</head>
<body>
<g:javascript>
  new Ajax.PeriodicalUpdater('positionTable',
          '<g:createLink action="positionTable" id="${eventInstance.id}"/>',
          {method: 'post', frequency: 30}
          );

  refreshPositionTable = function() {
  new Ajax.Updater('positionTable', '<g:createLink action="positionTable" id="${eventInstance.id}"/>');
  }
</g:javascript>
<div class="body">
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <g:render template="/common/eventDetailTable"/>
  <h1>Event Unfilled Positions</h1>
  <div id="confirmationMessage">
  </div>
  <div id="positionTable">
    <g:render template="/common/positionTable"/>
  </div>
</div>
</body>
</html>
